package com.zlc.common.core.role.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zlc.common.core.role.model.entity.MayanPlatRoleUser;
import com.zlc.common.core.user.model.vo.MayanPlatUserVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author  zl
 * @date 2023-05-08 
 */
@Mapper
public interface MayanPlatRoleUserMapper extends BaseMapper<MayanPlatRoleUser> {


    List<MayanPlatUserVo> queryRoleUserList(@Param("roleCode") String roleCode,@Param("username")String username);


    int deleteByRoleCode(@Param(value = "roleCode")String roleCode);
}
